package cim.itmk.web.sys_menu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cim.itmk.web.sys_menu.entity.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
  //根据用户id查询菜单
          List<SysMenu> getMenuByUserId(@Param("userId") Long userId);
    List<SysMenu> getA(@Param("userId") Long userId);

}
